package com.hksj.cbm.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.util.Date;

/**
 * @author zengke
 * @version 1.0
 * @see ScreenDeviceSpaceSpeciality
 * @since 2024/7/18 17:09
 */

@TableName("hk_screen_device_space_speciality")
@Data
public class ScreenDeviceSpaceSpeciality {

    /**
     * 大屏设备空间专业关联表id
     */

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 专业模型id
     */
    private Long specialityModelId;

    /**
     * 空间模型id
     */
    private Long spaceModelId;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createTime;
}
